﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace nRoute.Samples.SiteMapWeb.Model
{
	public class ApplicationSiteMapArea
	{
		[Key]
		[ScaffoldColumn(false)]
		public int Id { get; set; }
		
		[Required]
		public string Key { get; set; }

		[Required]
		public string RemoteUrl { get; set; }

		public bool InitializeOnLoad { get; set; }

		public virtual ICollection<ApplicationSiteMapArea> AreaDependencies { get; set; } 
	}
}